/*
 * @Description: 操作符
 * @Author: rendc
 * @Date: 2022-09-02 14:03:39
 * @LastEditors: rendc
 * @LastEditTime: 2022-09-02 14:23:55
 */
var a = 1;
// console.log(a + 1);
// console.log(a + 2);
var b = 2;
var c = "2";
// console.log(a + b); // 3
// console.log(a + c); // 12
var d = 4;
// console.log(d--); //4
// console.log(d++); //3
var e = 4;
// console.log(--e); //3
// console.log(++e); //4

var a = 2;
var b = "2";
// console.log(a == b); // true
// console.log(a === b);// false

var c = a == b ? "a==b" : "a!=b";
console.log('🤡 CC - c', c)

function isMax (a, b) {
  console.log(a > b ? a : b);
}
isMax(3, 5);
isMax(5, 1);

